// 入库
import request from '../utils/request'
// 列表
export const getInstockListApi = (params) => request({ url: '/business/inStock/findInStockList', method: 'get', params })
// 明细
export const getInstockDetalisApi = (id) => request({ url: `/business/inStock/detail/${id}` })
// 回收站
export const removestockApi = (id) => request({ url: `/business/inStock/remove/${id}`, method: 'put' })
// 恢复数据
export const backstockApi = (id) => request({ url: `/business/inStock/back/${id}`, method: 'put' })
// 删除
export const delstockApi = (id) => request({ url: `/business/inStock/delete/${id}`, method: 'get' })
